package com.llc.spring.cloud.sdk.core.http;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * time 2018/9/4 11:43
 *
 * @author xiaojie.zhu <br>
 */
public class GatewayDefine {
    private static final List<String> USER_GATEWAY = new ArrayList<>();

    public static void addGateway(String ... url){
        if(url.length > 0){
            USER_GATEWAY.addAll(Arrays.asList(url));
        }

    }

    public static List<String> getUserGateway() {
        return USER_GATEWAY;
    }
}
